{% extends "@CoreBundle/layout/pop.html.twig" %}

{% block page_title %}查看学校{% endblock %}

{% block body_javascript %}
    {{ parent() }}
    <script src="{{ asset('bundles/eduxpluscore/js/jquery-distpicker/distpicker.min.js') }}"></script>
    <script>
        $(function(){
            $('#distpicker').distpicker();
        });
    </script>
{% endblock %}

{% block breadcrumb %}
    <li class="breadcrumb-item"><a href="{{ path("admin_jw_school_index") }}">学校管理</a></li>
{% endblock %}
{% block page %}
      <div class="card">
        <div class="card-body" style="display: block;">
                {{ formData|raw }}
                <div class="form-group">
                    <label for="title" class="require">省市:</label>
                    <div class="input-group">
                        <div data-toggle="distpicker" id="distpicker">
                            <select name="state" data-province="{{ info['state'] }}" disabled></select>
                            <select name="city" data-city="{{ info['city'] }}" disabled></select>
                            <select name="region" data-district="{{ info['region'] }}" disabled></select>
                        </div>
                    </div>
                </div>
        </div>
      </div>
{% endblock %}
